<?php 
namespace app\home\controller;
use think\Controller;
/**
* 学生风采详情页控制器
*/
class Teadetials extends Common
{
	
	public function index(){
		$teaid=input('tid');
		db('teacher')->where(array('tid'=>$teaid))->setInc('click');//点击次数
		$teacherRes=db('teacher')->find($teaid);
		$this->assign('teacherRes',$teacherRes);
		return	$this->fetch('teadetials');
	}
}